home *** CD-ROM | disk | FTP | other *** search
- cls
- rem *
- rem * Be sure that INT10.EXE has been run ONCE since booting up.
- rem *
- rem * The demo will continue by running a program I've named ITERXY.
- rem * It will generate a design on graphics page 1.
- pause
- iterxy 0 -1 0 0 1 -.999 -.999 0 0
- rem *
- rem * That was a fractal design from Scentific American, Nov81.
- rem * The C language program is in file ITERXY.C. Change the command-
- rem * line parameters to create a huge variety of different patterns.
- rem *
- rem * For another look at graphics page 1, we type GSHOW 1
- rem *
- pause
- gshow 1
- rem * Next we'll store that image in file P1, using GSAVE 1 P1
- rem * (This takes a few seconds)
- rem *
- pause
- gsave 1 p1
- rem * Now to erase the image from page 1, we type GCLS 1
- rem *
- pause
- gcls 1
- rem * and to verify that it's cleared, we type GSHOW 1
- rem *
- pause
- gshow 1
- rem * Now to restore the image, use GLOAD 1 P1
- rem * (This takes a few seconds)
- rem *
- pause
- gload 1 p1
- rem * View the restored image with GSHOW 1
- rem *
- pause
- gshow 1
- rem * Try out the printer copy with GPRINT 1
- rem * (Be sure your printer is on-line!)
- rem *
- pause
- gprint 1
- rem * To plot the data in file DEMO.DAT, type GPLOT DEMO.DAT 0
- rem *
- pause
- gplot demo.dat 0
- rem * Finally, try GPLOT DEMO.DAT 1 for a line-plot
- rem *
- pause
- gplot demo.dat 1
- pause
- cls
- rem * Have fun!
- rem * Bob Sawyer
- rem * 3620 Spencer St. 30
- rem * Torrance, CA 90503
-
-
-